﻿export default [
  {
    path: '/login',
    layout: false,
    component: './System/Login',
  },
  {
    path: '/register',
    layout: false,
    component: './System/Register',
  },
  {
    path: '/slide/detail',
    layout: false,
    component: './Slide/detail',
  },
  {
    path: '/dashboard',
    layout: false,
    component: './Slide/list',
  },
  {
    path: '/welcome',
    name: 'welcome',
    icon: 'smile',
    hideInMenu: true,
    component: './Welcome',
    layout: false,
  },
  {
    path: '/',
    redirect: '/dashboard',
    // redirect: '/welcome',
  },
  {
    component: './404',
  },
  // {
  //   name: '示例',
  //   icon: 'table',
  //   path: '/demo',
  //   routes: [
  //     {
  //       name: '基础表格',
  //       icon: 'smile',
  //       path: '/demo/table',
  //       component: './Demo/Table',
  //     },
  //   ],
  // },
];
